home *** CD-ROM | disk | FTP | other *** search
- /* Tools Plus (Version 2.5.3) THINK C supplemental file
- * Copyright (C) 1989-95 Water’s Edge Software
- *
- * This source file must be compiled as part of a project containing Tools Plus.
- * It provides access to the SystemVersion routine, which produces a double
- * whose format is consistent with your compiler settings (standard, native, or
- * for a math co-processor).
- */
-
-
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
-
-
- /* PRIVATE: This function obtains the System file's version number as an integer for the */
- /* SystemVersion function. */
- pascal short _SYSV(void);
-
-
-
-
-
-
- /* The SystemVersion function returns the System File's version as an 'double' type */
- /* floating-point number. This source code, when compiled, will produce an appropriate */
- /* 'double' type floating-point number whose format is determined by your compiler's */
- /* settings (ie: standard, native, compiled for a math co-processor, or not). */
- pascal double SystemVersion(void); // (Prototype)
- pascal double SystemVersion(void)
- {
- return (_SYSV() / 100.0); /* Get System Version and convert to a */
- } /* extended type. */
-
-
-
- #ifdef __cplusplus
- }
- #endif